﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARS.Control.Custom.Entity.Fields;

namespace ARS.Control.Custom.Entity.Model
{
    /// <summary>
    /// ARS_Control_DateTimeAutoField_Attr:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ARS_Control_DateTimeAutoField_Attr
    {
        public ARS_Control_DateTimeAutoField_Attr()
        { }
        #region Model
        private int _ars_control_datetimeautofield_attr_id;
        private bool _auto_now_add;
        private bool _auto_now;
        /// <summary>
        /// 
        /// </summary>
        [KeyField()]
        public int ARS_Control_DateTimeAutoField_Attr_Id
        {
            set { _ars_control_datetimeautofield_attr_id = value; }
            get { return _ars_control_datetimeautofield_attr_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [BooleanField(Verbose_Name = "添加时保存")]
        public bool Auto_Now_Add
        {
            set { _auto_now_add = value; }
            get { return _auto_now_add; }
        }
        /// <summary>
        /// 
        /// </summary>
        [BooleanField(Verbose_Name="提交时保存")]
        public bool Auto_Now
        {
            set { _auto_now = value; }
            get { return _auto_now; }
        }
        #endregion Model

    }
}
